package demo.DataStrucAndAlgo.SingletonPattern.Prototype;

/**
 * @Auther: hjy(lc))
 * @Date: 2022/8/13-08-13-17:05
 * @Description：demo.DataStrucAndAlgo.SingletonPattern.Prototype
 */
public class Circle extends Shape{
    public Circle() {
        type = "Circle";
    }

    @Override
    void drow() {
        System.out.println("         **         ");
        System.out.println("        *   *       ");
        System.out.println("      *       *     ");
        System.out.println("        *    *       ");
        System.out.println("          **       ");
    }
}
